const { ccclass, property } = cc._decorator;
declare let eManager;
import BaseView from "../../component/BaseView";
import UIHelper = require("../../component/UIHelper");
import Utils = require("../../utils/Utils");
@ccclass
export default class WashCatStartView extends BaseView {
    
    @property(cc.Animation)
    startAni: cc.Animation = null;

    onLoad(){
        super.onLoad();
        this.startAni.on("finished",this.startFinish,this);
    };

    startFinish(){
        //@ts-ignore
        this.scheduleOnce(() => {
            //@ts-ignore
            if (!cc.isValid(this.node)) {
                return;
            }
            UIHelper.openUI("WashCatView");
        }, 1);
    };
}
